package com.kaoshi.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author author
 * @since 2024-11-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("jm_fw")
public class Fw implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 状态1：待服务
     */
    private Integer status;

    /**
     * 机构id
     */
    private Integer jid;

    /**
     * 居民id
     */
    private Integer pid;

    /**
     *  团队id
     */
    private Integer tid;

    /**
     * 医生id
     */
    private Integer yid;

    /**
     * 服务包id
     */
    private Integer fwbid;

    /**
     * 服务项目id
     */
    private Integer xid;

    /**
     * 服务地点
     */
    private String dd;

    /**
     * 服务来源
     */
    private String ly;

    /**
     * 提交时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT-8")
    private LocalDateTime ttime;

    /**
     * 审核时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT-8")
    private LocalDateTime stime;

    /**
     * 审核人
     */
    private Integer shr;

    /**
     * 服务时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT-8")
    private LocalDateTime ftime;

    /**
     * 服务备注
     */
    private String bz;



//     记录信息对象
    @TableField(exist = false)
    private Jlb jlb;

}
